package com.cbh.feign.controller.settlement;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.cbh.api.model.ApiResult;
import com.cbh.api.model.settlement.Commission;


public interface GrantControllerBase {

	/**
	 * 发放佣金
	 * 
	 * @param accountToken
	 * @param manager
	 * @param supplier
	 * @param promotion
	 * @param buyClass
	 * @param tciAmount
	 * @param bciAmount
	 * @return
	 */
	@RequestMapping(value = "/auth/v3/grant", method = RequestMethod.POST, produces = "application/json")
	public ApiResult<Commission> save( @RequestParam(value = "accountToken", required = false) String accountToken,
			 @RequestParam(value = "manager", required = false) String manager,
			@RequestParam(value = "quote", required = false) String quote,
			 @RequestParam(value = "supplier", required = false) String supplier,
			 @RequestParam(value = "policy", required = false) String policy,
			 @RequestParam(value = "promotion", required = false) String promotion,
			 @RequestParam(value = "buyClass", required = false) String buyClass,
			 @RequestParam(value = "tciAmount", required = false) String tciAmount,
			@RequestParam(value = "bciAmount", required = false) String bciAmount);

}
